home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr36
/
bcrc100.zip
/
PCBTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-28
|
2KB
|
30 lines
REM Download the PDFC100.ZIP File from the support board.
REM It will generate a DOOR.SYS file for your PCB based
REM System. The first line calls this program to generate
REM a DOOR.SYS file in this PCBTEST.BAT System.
REM Dennis Flanigan of THE BARN BBS 714-348-1755
REM helped me test out this file on his PCB Single Line System!
REM NOTE!!! Comment out everything after the ; below!!!!!
pdfc 1 ;Make a DOOR.SYS file
B-CRC %1 ;Call B-CRC to check uploaded file
IF ERRORLEVEL = 1 GOTO NOGOOD ;If file fails GOTO NOGOOD section
:build
D: ;Change Drives to B-BUILD DRIVE
CD\BCRC ;Change Directories to B-BUILD Database
B-BUILD %1 ;Evoke B-BUILD to add file to database
C: ;Change back to main PCB directory
cd\PCB
:ziptest
c:\ziplab\zlab.exe %1 c:\pcb c:\ziplab %2 ;Now run ZIPLAB if all ok!
GOTO ALLDONE ; Skip to ALLDONE section
:NOGOOD ;NOGOOD Section if file failed B-CRC above
COPY %1 D:\FAIL ;Copy the file to the FAIL directory
ERASE %1 ;ERASE the uploaded file
COPY C:\PCB\DUMMY.TXT C:\PCB\PCBFAIL.TXT ;Use a 80 byte file called DUMMY.TXT
;that is copied to PCBFAIL.TXT when
;File failed the B-CRC scan!
;This tells PCB file is No Good.
:ALLDONE ;ALLDONE section exits the batch file.